#ifndef MAINWINPLUGIN_H
#define MAINWINPLUGIN_H

#include "Plugin_global.h"
#include "BasePlugin.h"
#include <QQuickWidget>

#define MAINWIN_PLUGIN_NAME         "TestPlugin1"
#define MAINWIN_PLUGIN_DESCRIPTION  "TestPlugin1"
#define MAINWIN_PLUGIN_TYPE         PluginType::User

class TestPlugin1 : public BasePlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID MAINWIN_PLUGIN_NAME)
    Q_INTERFACES(BasePlugin)
public:
    TestPlugin1(QObject *parent = 0);
    virtual ~TestPlugin1();
    virtual void OnLoad(int argc, char **argv);
    virtual void AfterLoad();
    virtual QWidget* GetWidget();


    QQuickWidget* mWidget;
};

#endif // MAINWINPLUGIN_H
